<? session_start();
include ("SVsystem/class/remoteFunctions.php");
include("SVsystem/config/dbconfig.php"); ////////setup
include("SVsystem/config/dominio.php");
includeCommonClass("formulario");
includeCommonClass("funciones");
includeWidget("SimpleList.SimpleList");

$tool = new formulario('db');

	$cat = new tools();
	$cat->dbc = $tool->dbc;

	$dataindex = $tool->simple_db("select index_youtube,index_image,index_titulo,index_texto,index_desc,index_meta,index_footer from preferencias");

?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
	"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">


<head>
<META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE">
	<meta http-equiv="Content-type" content="text/html; charset=utf-8">
    <title><?php echo utf8_encode($dataindex['index_titulo']); ?></title>
    <meta name="description" lang="es" content="<?php echo $dataindex['index_desc']; ?>" />
	<meta name="keywords" content="<?php echo $dataindex['index_meta']; ?>" />

<link rel="stylesheet" href="/SVscripts/orbit/orbit-1.2.3.css" type="text/css" media="screen" title="no title" charset="utf-8">
<link rel="stylesheet" href="http://www.centroplomer.com/estilo.css" type="text/css" media="screen" title="no title" charset="utf-8">
<!--[if IE]> <link href="ie-shit.css" rel="stylesheet" type="text/css"> <![endif]-->



<script type="text/javascript" src="/SVscripts/jquery-1.5.1.min.js"></script>
<script src="/SVscripts/menu.js" type="text/javascript" charset="utf-8"></script>
<script type="text/javascript" src="/SVscripts/orbit/jquery.orbit-1.2.3.min.js"></script>


<script type="text/javascript" src="SVsystem/js/utils.js"></script>
<script type="text/javascript" src="SVsystem/js/ajax.js"></script>



<!--[if IE]>
			     <style type="text/css">
			         .timer { display: none !important; }
			         div.caption { background:transparent; filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000000,endColorstr=#99000000);zoom: 1; }
			    </style>
			<![endif]-->





<script type="text/javascript">

			$(window).load(function() {
			$('#featured').orbit({
     animation: 'fade',                  // fade, horizontal-slide, vertical-slide, horizontal-push
     animationSpeed: 1500,                // how fast animtions are
     timer: true, 			 // true or false to have the timer
     advanceSpeed: 7000, 		 // if timer is enabled, time between transitions
     pauseOnHover: true, 		 // if you hover pauses the slider
     startClockOnMouseOut: true, 	 // if clock should start on MouseOut
     startClockOnMouseOutAfter: 10, 	 // how long after MouseOut should the timer start again
     directionalNav: true, 		 // manual advancing directional navs
     captions: false, 			 // do you want captions?
     captionAnimation: 'fade', 		 // fade, slideOpen, none
     captionAnimationSpeed: 800, 	 // if so how quickly should they animate in
     bullets: false,			 // true or false to activate the bullet navigation
     bulletThumbs: false,		 // thumbnails for the bullets
     bulletThumbLocation: '',		 // location from this file where thumbs will be
     afterSlideChange: function(){} 	 // empty function

})
});

</script>














</head>
<body>




<div id="wrapper">
<?php include ("SVG-carrusel.php")?>


<div id="tapatope"></div>





<div id="contenido">


<div id="izquierda">
<?php include('SVG-menu-categorias.php'); ?>






</div>


<!-- centro -->
<div id="centro">

<!-- index -->
<div id="index" class="clearfix">

<h1><?php echo utf8_encode($dataindex['index_titulo']); ?></h1>

<?php if(!empty($dataindex['index_image'])){ ?>
							<img id="pimagenindex" src="<?php echo $DOMINIOSV."/contenido/orig/".$dataindex['index_image']; ?>"width="178" height="146"  alt="<?php echo $dataindex['index_titulo']; ?>" />
                     <?php } ?>

               <?php echo utf8_encode($dataindex['index_texto']); ?>

<div id="separador"></div>
<!-- cierra index -->
 </div>

























  <div id="separador"></div>





<!-- DESDE AQUIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII -->

<div id="destacados">
<?php
	$widget = new simpleList();
	$widget->formatoPresentacion="SVwidgets/SimpleList/formato-categoria.php";
	$widget->formatoTitulo="SVwidgets/SimpleList/formato-titulo.php";
	$widget->titulo="lelele";
	$widget->rutaBase = $DOMINIOSV;
	$widget->categoriasDeProductos();
?>
<div id="separador"></div>
</div>






<!-- HASTA AQUIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII -->






<?php include ("SVG-youtube.php")?>

<div id="separador"></div>





























		</div>



<!-- columna derecha aqui -->
		<div id="derecha">

<?php include ("SVG-loginbox.php")?>
<?php include ("SVG-banners0.php")?>

</div>




<div id="separador"></div>
	</div>
<div id="tapabottom"></div>



</div>
<?php include('SVG-footer.php'); ?>

<?php include ("http://paginainteligente.net/sign.php")?>
</body>
</html>